#include <iostream>
#include<cmath>
#include <algorithm>
using namespace std;
int main() {
    int a, b, c;
    cin >> a >> b >> c;
    int sum = 0;
    int realy_a = min(a / 2, 10);
    for (int i = 0; i <= realy_a; i++) {
        for (int j = 0; j <= b; j++) {
            if (i > j) {
                continue;
            }
            for (int k = c / 2; k <= c; k++) {
                if (k > j) {
                    continue;
                }
                if (i + j + k == 0) {
                    continue;
                }
                if ((j == 0 || k == 0) || (i * j <= k * k)) {
                    sum++;
                }
            }
        }
    }
    cout << sum << endl;
    return 0;
}